package com.example.musiccommunity.bean;

import android.graphics.drawable.Drawable;

public class News {
    String id;
    String author;
    String title;
    String  txt;
    String  time;
    Drawable img;

    public News(String id, String author, String title, String txt, String time, Drawable img) {
        this.id = id;
        this.author = author;
        this.title = title;
        this.txt = txt;
        this.time = time;
        this.img = img;
    }

    public News() {
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getTxt() {
        return txt;
    }

    public void setTxt(String txt) {
        this.txt = txt;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public Drawable getImg() {
        return img;
    }

    public void setImg(Drawable img) {
        this.img = img;
    }
}
